Home } Page Details } Image Load



Notifies the user is an image on your site fails to load properly or if it is aborted when loading. Definitely an excellent example of the onAbort and onError image event handlers in use.

Please note that in the script example we intentionally included a 'broken image' that fails to load properly to display the script in use.



(We caused this image not to load on purpose!)

JavaScript Source Code 2002: Page Details: Image Load

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!